package com.jubaozan.service.platform.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @ClassName PlatformCompanySubmitVO
 * @Description 个体平台企业资料注册实体对象
 * @Author TanRuixiang
 * @Date 2020/9/18 14:31
 * @Version 1.0
 **/
@Data
@ApiModel(value = "个体平台企业资料注册实体对象", description = "个体平台企业资料注册实体对象")
public class PlatformCompanySubmitVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "名称不能为空")
    @ApiParam(value = "名称", example = "你我团")
    private String name;

    @NotNull(message = "营业执照不能为空")
    @ApiParam(value = "营业执照", example = "https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3926407720,2167302872&fm=26&gp=0.jpg")
    private String license;

    @NotNull(message = "注册地址不能为空")
    @ApiParam(value = "注册地址", example = "湖南省长沙市岳麓区绿地中央广场5栋")
    private String address;

    @NotNull(message = "社会信用代码不能为空")
    @ApiParam(value = "社会信用代码", example = "4654814654684564")
    private String socialCreditCode;

    @ApiParam(value = "过期时间", example = "2020-09-18")
    private LocalDate expireDate;

    @NotNull(message = "法人姓名不能为空")
    @ApiParam(value = "法人姓名", example = "陈法人")
    private String corporation;

    @NotNull(message = "法人身份证不能为空")
    @ApiParam(value = "法人身份证", example = "458524156695623321")
    private String corporationIdcard;

    @NotNull(message = "是否3证合一不能为空")
    @ApiParam(value = "是否3证合一", example = "0")
    private Boolean threeInOne;

    @ApiParam(value = "组织机构代码", example = "4561646484865")
    private String organizationCode;

    @ApiParam(value = "组织机构代码证图片", example = "https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3926407720,2167302872&fm=26&gp=0.jpg")
    private String organizationImage;

    @ApiParam(value = "组织机构代码证过期时间", example = "2020-09-18")
    private LocalDate organizationExpireDate;

    @NotNull(message = "unionid不能为空")
    @ApiParam(value = "unionid", example = "oqXaH0_pMwRsvVK9YSrbbV-v0BE0")
    private String unionid;
    //法人身份证对象
    private PlatformSubmitVO platformSubmitVO;
}
